package com.msteam.tools.code.generator.Property.Column;

import com.msteam.tools.code.generator.Property.PropertyEnums.SortType;
import com.msteam.tools.code.generator.Property.Table.TableField;

public class LookupTable {
	public LookupTable() {
		this.DisplayField = new ColumnField();
		this.TableName = new TableField();
		this.LinkField = new ColumnField();
		this.OrderBy = new ColumnField();

	}

	// 关联表"), DescriptionAttribute("")]
	public TableField TableName;
	// 关联字段"), DescriptionAttribute("")]
	public ColumnField LinkField;
	// 显示字段"), DescriptionAttribute("")]
	public ColumnField DisplayField;
	// 排序字段"), DescriptionAttribute("")]
	public ColumnField OrderBy;
	// 排序方式"), DescriptionAttribute("")]
	public SortType SortType;

	// 过滤条件"), DescriptionAttribute("")]
	public String Filter;
	// 去除重复"), DescriptionAttribute("")]
	public Boolean Distinct;

	// 自动填充"), DescriptionAttribute("")]
	public Boolean AutoFill;
	// 允许添加"), DescriptionAttribute("")]
	public Boolean AllowAdd;

	// 自动完成"), DescriptionAttribute("")]
	public Boolean Autocomplete;
}
